package com.iflytek.aisol.audit.iflytek.strategy.manage.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.experimental.FieldNameConstants;

import javax.persistence.*;

import java.io.Serializable;

/**
 * CLassName: frChannelConfig2Self
 * Description: 指定channel依赖的子channel
 * Author: wuzhixiang
 * Date: 2024-12-28 14:03
 * Version: 1.0
 * @author hswang7
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity
@Table(name = "FrChannelConfig2Self")
@FieldNameConstants
public class FrChannelConfig2Self implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 父channelid
     */
    @Column(name = "p_channel_config_id")
    private Long pChannelConfigId;

    /**
     * 子channelid
     */
    @Column(name = "c_channel_config_id")
    private Long cChannelConfigId;
}
